/* 零食糕点下的横线 */
.showLine {
    width: 100%;
    border-bottom: 1px solid black;
}

/* < !-- 零食糕点导航栏 --> */
.pastry-nav-box {
    width: 1080px;
    height: 100px;
    display: flex;
    justify-content: space-between;
}

/* 五个导航栏小盒子 */
.pastry-nav {
    position: relative;
    border-radius: 20px;
    cursor: pointer;

}

/* 导航栏下的照片 */
.pastry-nav img {
    border-radius: 20px;
}

/* 照片阴影 */
.pastry-nav .series-card-mask {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: 0.3s;
}

/* 阴影面具 */
.pastry-nav .mask {
    background-color: rgba(0, 0, 0, 0.6);
}

/* 鼠标阴影效果 */
.pastry-nav:hover .series-card-mask {
    background-color: rgba(0, 0, 0, .6)
}

.active::after {
    content: '';
    display: block;
    width: 80px;
    margin: 0 auto;
    transform: translateY(2px);
    border-bottom: 1px solid white;
}

/* 照片上面部分的字 */
.pastry-nav .series-card-enTitle {
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    line-height: 14px;
    color: #fff;
    text-transform: uppercase;
    position: absolute;
    top: 8px;
    left: 0;
}

/* 照片下面部分的字 */
.pastry-nav .series-card-title {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    font-size: 18px;
    line-height: 25px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    letter-spacing: 1px;
}



/* 商品展示 */
.goods-page {
    width: 1080px;
    margin: 0 auto;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

/* 一个商品模块 */
.goods-page .goods-card {
    width: 350px;
    height: 380px;
    border-radius: 20px;
    margin-bottom: 14px;
}

/* 商品模块图片 */
.goods-page .goods-card img {
    border-radius: 20px 20px 0 0;
}

/* 图片下半部分 */
.goods-card-info {
    background-color: #eee8e6;
    border-radius: 0 0 20px 20px;
    width: 350px;
    height: 80px;
    padding: 7px 20px 11px;
    display: flex;
    justify-content: space-between;
}

/* 左边部分 */
.left {
    width: 251.1px;
    cursor: pointer;
    position: relative;
}

.goods-card-info .left .title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 22px;
    vertical-align: top;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-card-info .left .title:hover {
    text-overflow: initial;
    font-size: 14px;
    white-space: wrap;
}

.goods-card-info .left .price {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 25px;
}

.goods-card-info .left .price .extra {
    font-size: 8px;
    font-weight: 400;
    color: #858585;
    line-height: 11px;
    margin-left: 4px;
}


/* 右边部分 */
.goods-card-info .right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.goods-card-info .right .btn {
    width: 47.6px;
    height: 25.6px;
    color: #fff;
    font-weight: 400;
    background: #cb986d;
    border-color: rgba(0, 0, 0, 0);
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
}